package com.ziyucoding.springboot.labs.lab10.seatdemo.atscfeign.accountservice.service;

/**
 * 账户 service接口
 *
 * @author ziyucoding
 * @date 2022-11-03
 **/
public interface AccountService {

    /**
     * 扣除余额
     *
     * @param userId
     * @param price
     * @return void
     **/
    void reduceBalance(Long userId, Integer price) throws Exception;
}
